#include "state.h"
#include "process.h"
#include "convert.h"
#include "nconvert.h"

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    Process process(argc, argv);

    char *directory;
    if (argc > 1) {
        directory = argv[1];
    }
    else {
        cout << "Error. forgot parametr" << endl;
        exit(1);
    }

    convert(directory);
    nconvert(directory);

/*
 *  ==  ==  ==  ==  ==  ==               DO SAMPLES  ==  ==  ==  ==  ==  ==  =
    State state8(8), state12(12), state16(16);
    state8.randomFill();
    state12.randomFill();
    state16.randomFill();
    state8.output("samples/state8");
    state12.output("samples/state12");
    state16.output("samples/state16");
    */

    return 0;
}
